
<%@ page import="mileena.AppOwner" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'appOwner.label', default: 'AppOwner')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserFirstName.label" default="App User First Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserFirstName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserMiddleName.label" default="App User Middle Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserMiddleName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserLastName.label" default="App User Last Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserLastName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.messages.label" default="Messages" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${appOwnerInstance.messages}" var="m">
                                    <li><g:link controller="appMessage" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserMail.label" default="App User Mail" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserMail")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserPassword.label" default="App User Password" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserPassword")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserDescription.label" default="App User Description" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appUserDescription")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appImage.label" default="App Image" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appImage")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appOwnerPosition.label" default="App Owner Position" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: appOwnerInstance, field: "appOwnerPosition")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.comments.label" default="Comments" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${appOwnerInstance.comments}" var="c">
                                    <li><g:link controller="appComment" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.events.label" default="Events" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${appOwnerInstance.events}" var="e">
                                    <li><g:link controller="appEvent" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appRole.label" default="App Role" /></td>
                            
                            <td valign="top" class="value"><g:link controller="appRole" action="show" id="${appOwnerInstance?.appRole?.id}">${appOwnerInstance?.appRole?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.appUserSignUp.label" default="App User Sign Up" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${appOwnerInstance?.appUserSignUp}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="appOwner.favouritePlaces.label" default="Favourite Places" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${appOwnerInstance.favouritePlaces}" var="f">
                                    <li><g:link controller="appPlace" action="show" id="${f.id}">${f?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${appOwnerInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
